package com.hsq.ndmall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hsq.ndmall.common.utils.PageUtils;
import com.hsq.ndmall.order.entity.CartEntity;

import java.util.List;
import java.util.Map;

/**
 * 购物车商品表
 *
 * @author Mr.Huang
 * @email 1607922199@qq.com
 * @date 2021-08-19 15:01:33
 */
public interface CartService extends IService<CartEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CartEntity> queryByUidAndChecked(Integer userId);

    void clearGoods(Integer userId);
}

